package com.hz.house.bean.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 置业顾问积分天数相关
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SellManDays implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("置业顾问customerId")
    private Integer customerId;

    @ApiModelProperty("置业顾问积分对应天数")
    private String days;

    @ApiModelProperty("对应天数的总积分")
    private Integer totalIntegral;

    @ApiModelProperty("所有活跃度积分")
    private Integer allIntegral;

    @ApiModelProperty("置业顾问我的积分页面总积分")
    private Integer totalScore;

    @ApiModelProperty("置业顾问我的积分页面活跃度")
    private Integer live;

    @ApiModelProperty("置业顾问今日增加分数")
    private Integer todayScore;

    public Integer getAllIntegral() {
        return allIntegral == null ? 0 : allIntegral;
    }

    public Integer getLive() {
        return live == null ? 0 : live;
    }

    public Integer getTodayScore() {
        return todayScore == null ? 0 : todayScore;
    }
}
